<?php /* Smarty version 2.6.26, created on 2018-08-23 06:55:32
         compiled from D:%5Cwamp64%5Cwww%5CphotoWeb/templates/InterPhoto/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'GetSystemInfo', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 7, false),array('modifier', 'GetUrl', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 19, false),array('modifier', 'cat', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 20, false),array('modifier', 'InterEncode', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 20, false),array('modifier', 'default', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 20, false),array('modifier', 'ShortTitle', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 25, false),array('modifier', 'DisplayDate', 'D:\\wamp64\\www\\photoWeb/templates/InterPhoto/index.tpl', 26, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div id="mainheader">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "toolbar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</div>

<?php echo ((is_array($_tmp='')) ? $this->_run_mod_handler('GetSystemInfo', true, $_tmp) : GetSystemInfo($_tmp)); ?>


<div id="indexmain">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

<?php unset($this->_sections['image']);
$this->_sections['image']['name'] = 'image';
$this->_sections['image']['loop'] = is_array($_loop=$this->_tpl_vars['images']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['image']['show'] = true;
$this->_sections['image']['max'] = $this->_sections['image']['loop'];
$this->_sections['image']['step'] = 1;
$this->_sections['image']['start'] = $this->_sections['image']['step'] > 0 ? 0 : $this->_sections['image']['loop']-1;
if ($this->_sections['image']['show']) {
    $this->_sections['image']['total'] = $this->_sections['image']['loop'];
    if ($this->_sections['image']['total'] == 0)
        $this->_sections['image']['show'] = false;
} else
    $this->_sections['image']['total'] = 0;
if ($this->_sections['image']['show']):

            for ($this->_sections['image']['index'] = $this->_sections['image']['start'], $this->_sections['image']['iteration'] = 1;
                 $this->_sections['image']['iteration'] <= $this->_sections['image']['total'];
                 $this->_sections['image']['index'] += $this->_sections['image']['step'], $this->_sections['image']['iteration']++):
$this->_sections['image']['rownum'] = $this->_sections['image']['iteration'];
$this->_sections['image']['index_prev'] = $this->_sections['image']['index'] - $this->_sections['image']['step'];
$this->_sections['image']['index_next'] = $this->_sections['image']['index'] + $this->_sections['image']['step'];
$this->_sections['image']['first']      = ($this->_sections['image']['iteration'] == 1);
$this->_sections['image']['last']       = ($this->_sections['image']['iteration'] == $this->_sections['image']['total']);
?>
<div class="thumb-lrg">
<table>
<thead class="thumbnail_hover">
<tr>
<th><a href="<?php echo ((is_array($_tmp='InterPhoto.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid']) : GetUrl($_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid'])); ?>
">
<img src="InterPhoto.thumbnail.php?file=<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['path'])) ? $this->_run_mod_handler('cat', true, $_tmp, "/2/") : smarty_modifier_cat($_tmp, "/2/")))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['filename']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['images'][$this->_sections['image']['index']]['filename'])))) ? $this->_run_mod_handler('InterEncode', true, $_tmp) : InterEncode($_tmp)); ?>
" class="thumbnail" alt="<?php echo ((is_array($_tmp=@$this->_tpl_vars['images'][$this->_sections['image']['index']]['title'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['lan_notitle']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['lan_notitle'])); ?>
" title="<?php echo ((is_array($_tmp=@$this->_tpl_vars['images'][$this->_sections['image']['index']]['title'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['lan_notitle']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['lan_notitle'])); ?>
" /></a></th>
</tr>
</thead>
<tr>
<td>
<div><?php echo $this->_tpl_vars['lan_title']; ?>
: <a href="<?php echo ((is_array($_tmp='InterPhoto.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid']) : GetUrl($_tmp, 'id', $this->_tpl_vars['images'][$this->_sections['image']['index']]['imageid'])); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['title'])) ? $this->_run_mod_handler('ShortTitle', true, $_tmp, '18') : ShortTitle($_tmp, '18')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['lan_notitle']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['lan_notitle'])); ?>
</a></div>
<div><?php echo $this->_tpl_vars['lan_date']; ?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['created'])) ? $this->_run_mod_handler('DisplayDate', true, $_tmp, 'Y-m-d') : DisplayDate($_tmp, 'Y-m-d')); ?>
</div>
<div><?php echo $this->_tpl_vars['lan_category']; ?>
: <a href="<?php echo ((is_array($_tmp='index.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, 'c', $this->_tpl_vars['images'][$this->_sections['image']['index']]['categoryid']) : GetUrl($_tmp, 'c', $this->_tpl_vars['images'][$this->_sections['image']['index']]['categoryid'])); ?>
" class="category"><?php echo ((is_array($_tmp=$this->_tpl_vars['images'][$this->_sections['image']['index']]['categorytitle'])) ? $this->_run_mod_handler('ShortTitle', true, $_tmp, '18') : ShortTitle($_tmp, '18')); ?>
</a></div>
<div><?php echo $this->_tpl_vars['lan_hits']; ?>
: <?php echo $this->_tpl_vars['images'][$this->_sections['image']['index']]['viewcount']; ?>
&nbsp;&nbsp;<?php echo $this->_tpl_vars['lan_downloads']; ?>
: <?php echo $this->_tpl_vars['images'][$this->_sections['image']['index']]['downloadcount']; ?>
</div>
</td>
</tr>
</table>
</div>
<?php endfor; endif; ?>

</td>
</tr>
</table>
</div>

<div id="mainfooter">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "toolbar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>